package yf.mall.entity;


import lombok.Setter;
import lombok.Getter;
import java.io.Serializable;
import java.util.Date;


/**
 * 文章实体
 * 表名 article
 *
 * 
 * 
 * @date Wed Aug 02 10:54:31 CST 2023
 */
@Setter
@Getter
public class ArticleEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    //新闻ID
    private Long id;
        //标题
    private String title;
        //IMG-封面
    private String img;
        //IMG-详情
    private String bigImg;
        //作者名
    private String author;
        //内容
    private String body;
        //阅读数量
    private Long readCount;
        //发表时间
    private Date date;
        //起止时间
    Date[] dates;
        //ENUM-状态:"PUBLISH-发表","NEW-未发表"
    private Integer status;
        //ENUM-类型:"MAN-名人堂","COLLEGE-爆单学院","BRAND-品牌介绍","OTHER-其他"
    private Integer type;
        //排序
    private Integer sort;
    
    public ArticleEntity(){

    }

}
